_p_o_r_t is the audio input port from which you want to read samples.
This is the returned value of an aaaallllOOOOppppeeeennnnPPPPoooorrrrtttt((((3333ddddmmmm)))) call.
_s_a_m_p_l_e_s is the buffer into which you want to read the samples.
_f_r_a_m_e_c_o_u_n_t is the number of sample frames that you want to read from
the audio port.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
aaaallllRRRReeeeaaaaddddFFFFrrrraaaammmmeeeessss transfers data from an audio port to the _s_a_m_p_l_e_s buffer.
aaaallllRRRReeeeaaaaddddFFFFrrrraaaammmmeeeessss blocks until _f_r_a_m_e_c_o_u_n_t sample frames have been transferred
to the _s_a_m_p_l_e_s buffer. If you do not wish to block, make sure that
_f_r_a_m_e_c_o_u_n_t is less than the return value of aaaallllGGGGeeeettttFFFFiiiilllllllleeeedddd((((3333ddddmmmm)))).
The format of the data written into _s_a_m_p_l_e_s depends upon the
configuration of the port. Each sample can be an 8-, 16-, or 32-bit
integer, or a single- or double-precision floating-point value or subcode
data; see aaaallllSSSSeeeettttSSSSaaaammmmppppFFFFmmmmtttt((((3333ddddmmmm)))), aaaallllSSSSeeeettttFFFFllllooooaaaattttMMMMaaaaxxxx((((3333ddddmmmm)))) and aaaallllSSSSeeeettttWWWWiiiiddddtttthhhh((((3333ddddmmmm)))) for a
description of how these formats work. By default, the sample format is
16-bit integer (short).
Within each sample frame, aaaallllRRRReeeeaaaaddddFFFFrrrraaaammmmeeeessss provides interleaved data. The
number of samples per sample frame varies according to the value
specified by aaaallllSSSSeeeettttCCCChhhhaaaannnnnnnneeeellllssss((((3333ddddmmmm)))). By default, the port provides stereo
data (2 samples per frame).
In order to achieve the best possible performance, aaaallllRRRReeeeaaaaddddFFFFrrrraaaammmmeeeessss does not
verify that _p_o_r_t or _s_a_m_p_l_e_s are valid. You should make certain these
values are valid before passing them as arguments to aaaallllRRRReeeeaaaaddddFFFFrrrraaaammmmeeeessss.
EEEEXXXXAAAAMMMMPPPPLLLLEEEE
The following code fragment opens an audio input port and reads audio